// xkRefPointHead.h: interface for the CImageTIF class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_XKREFPOINTHEAD_H__BFDF5R53_DFD5_442F_9EAB_0170F__INCLUDED_)
#define AFX_XKREFPOINTHEAD_H__BFDF5R53_DFD5_442F_9EAB_0170F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "xfImgBit.h"
#include "xfImgBit16.h"
#include "xfImgBit8.h"
#include "xfRefEdge.h"

class xkRefPointHead : public xfRefEdge
{
public:
	xkRefPointHead(){};
	virtual ~xkRefPointHead(){};

public:
	virtual int Initialize() = 0;
	virtual int UnInitialize() = 0;

public:
	virtual int SetImgBuffer(zkImgBitInfo *pImgInfo,BOOL bShareMem = TRUE) = 0;

public:
	virtual int GetImageSize(int &nWidth,int &nHeight) = 0;

public:
	virtual int LoadFile(char *pFileName) = 0;
	virtual int SaveFile(char *pFileName) = 0;

public:
	virtual int GetOrgImgBuffer(zkImgBitInfo **ppImgInfo) = 0;
	virtual int GetImgBuffer(zkImgBitInfo **ppImgInfo) = 0;

public:
	int GetImgBit(void **ppVoid)
	{
		*ppVoid = m_pImgBit;
		return 0;
	}

public:
	xfImgBit      *m_pImgBit;
	zkAnalyConfig *m_pAnalyConfig;

public:
	zkImgBitInfo   m_ImgBitInfo;

protected:
	xfImgBit16 m_xImgBit16;
	xfImgBit8  m_xImgBit8;



};


#endif